return {
    'backdround/global-note.nvim',
    keys = {
        {
            mode = {"n"},
            ",n",
            function()
               vim.cmd("GlobalNote")
            end,
            desc="Show global note",
        },
    },
    config = function()
        require("global-note").setup({
            filename = "global.md",
            directory = "~/mynote/",
            title = "Note",
            window_config = function()
                local window_height = vim.api.nvim_list_uis()[1].height
                local window_width = vim.api.nvim_list_uis()[1].width
                return {
                    relative = "editor",
                    border = "single",
                    title = "Note",
                    title_pos = "center",
                    width = math.floor(0.7 * window_width),
                    height = math.floor(0.85 * window_height),
                    row = math.floor(0.05 * window_height),
                    col = math.floor(0.15 * window_width),
                }
            end,
            autosave = true
        })
    end
}
-- EOP
